Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 9 - Movie Data Exchange Components / Movie Data Exchange Components Reference
Configuring Movie Data Import Components /


MovieImportSetChunkSize

The MovieImportSetChunkSize function allows an application to specify the amount of data your component works with at a time.

pascal ComponentResult MovieImportSetChunkSize 
                                       (ComponentInstance ci,
                                        long chunkSize);
ci
Identifies the application's connection to your movie data import component.
chunkSize
Specifies the number of seconds of data your movie data import component places into each chunk of movie data. This parameter may not be set to a value less than 1.
DESCRIPTION
The chunk size controls the amount of data in each of a media's data chunks (for more information about data chunks in a media, see the chapter "QuickTime Movie Format" in Inside Macintosh: QuickTime). Generally, your component should determine a reasonable default chunk size, based on the type of data you are importing. However, you may choose to allow applications to override your default value--this can be especially useful for sound data, where the chunk size affects the quality of sound playback.

RESULT CODE
badComponentSelector0x80008002Function not supported

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help